package com.dao;

import com.entity.Buildingstructure;
import com.entity.BuildingstructureExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BuildingstructureDao {
    long countByExample(BuildingstructureExample example);

    int deleteByExample(BuildingstructureExample example);

    int deleteByPrimaryKey(Integer bsid);

    int insert(Buildingstructure record);

    int insertSelective(Buildingstructure record);

    List<Buildingstructure> selectByExample(BuildingstructureExample example);

    Buildingstructure selectByPrimaryKey(Integer bsid);

    int updateByExampleSelective(@Param("record") Buildingstructure record, @Param("example") BuildingstructureExample example);

    int updateByExample(@Param("record") Buildingstructure record, @Param("example") BuildingstructureExample example);

    int updateByPrimaryKeySelective(Buildingstructure record);

    int updateByPrimaryKey(Buildingstructure record);
}